package com.zhu.shop.app.feign;

import com.zhu.shop.common.Vo.Result;
import com.zhu.shop.common.Vo.order.OrderParams;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("shop-order")
public interface ShopOrderFeign {
    @PostMapping("/order/createOrder")
    public Result<String> createOrder(@RequestBody OrderParams orderParams);

}
